<template>
	<view class="yt_button">
		<button class="button" @click="btu_clicks">{{btname}}</button>
	</view>
</template>

<script>
	export default{
		props:['btname'],
		methods:{
			btu_clicks(){
				this.$emit('click')
			}
		}
	}
</script>

<style lang="scss">
	.yt_button{
		width: 500rpx;
		height: 130.83rpx;
		margin: 0 auto;
		.button{
			background-color: #BB0000FF;
			color: #fff;
			font-size: 40rpx;
			border-radius: 26.7rpx;
		}
	}
</style>

